package com.gedi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author:RenPu
 * @Date: 2020/6/29 11:29
 * @Version: 1.0
 * @description:
 */
//exclude= {DataSourceAutoConfiguration.class} 启动类头部声明spring boot 就不会强制让你配置数据源
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableEurekaClient
public class ConsumerMainRun80 {

    public static void main(String[] args) {
        SpringApplication.run( ConsumerMainRun80.class,args );
    }
}
